package cn.glutnn.entity;


import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * (MembershipLevels)表实体类
 *
 * @author msh
 * @since 2024-12-14 17:06:20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("membership_levels")
public class MembershipLevels {

    @TableId
    private Integer id;

    //会员等级名称，如普通会员、黄金会员、白金会员
    private String levelName;
    //最低积分，达到此积分值才能升级该等级
    private Integer minPoints;
    //折扣率，会员等级享受的折扣，如0.90表示90折
    private Double discountRate;

}

